import http from '@/utils/http'
/**
 * 获取账户列表
 * @returns
 */
export function fetchAccountBasic() {
    return http({
        url: '/v1/account/basic',
        method: 'get'
    })
}
/**
 * @description: 创建账户
 * @param {*} params
 * @returns
 */
export function fetchAccountCreate(params) {
    return http({
        url: '/v1/account/create',
        method: 'post',
        data: params
    })
}
/**
 * @description: 删除账户
 * @param {*} params
 * @returns
 */
export function fetchAccountDestroy(params) {
    return http({
        url: '/v1/account/destroy',
        method: 'delete',
        params: params
    })
}
